#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    FILE* ret = fopen("c:\\report.txt", "w" ) ;
    if (argc >= 0) {
        char comm3[1000] = "java emma report -r xml -in coverage.em -in coverage.ec \0";
        //Generate the report
        fprintf(ret, "%s \n", comm3);
        fflush(ret);  
        system(comm3);    
        return EXIT_SUCCESS;
    } else {
        return -1;
    } 
}

